package com.atguigu.order.service;

import com.atguigu.param.OrderParam;
import com.atguigu.param.PageParam;
import com.atguigu.pojo.Order;
import com.atguigu.utils.R;
import com.baomidou.mybatisplus.extension.service.IService;

public interface OrderService extends IService<Order> {

    R save(OrderParam orderParam);

    R list(Integer userId);

    R check(Integer productId);

    R adminList(PageParam pageParam);
}
